$(document).ready(onresize);
$(window).resize(onresize);
function onresize() {
	$(".login .footer").css('margin-top',($(window).height()-506)+"px");
}

